import request from '@/utils/request'

export const upLoadAvator = (formData) =>
  request.post('/api/seeker/user/uploadProfile', formData, {
    headers: { 'Content-Type': false }
  })

export const upLoadResumeInfo = (info) =>
  request.post('/api/seeker/user/resume/modifyOnline', info)

export const upLoadUserInfo = (info) =>
  request.post('/api/seeker/user/modifyInfo', info)

export const getResumeInfo = (id) =>
  request.post(`/api/seeker/user/resume/queryOnline?userId=${id}`)
